
<?php  echo $this->headLink()->prependStylesheet('/jquery/jquery.simpledialog/jquery.simpledialog.0.1.css'); ?>
 
 <script>
	// increase the default animation speed to exaggerate the effect
	//$.fx.speeds._default = 1000;
	
	$(function() {
		
		jQuery('.thickbox2').simpleDialog();
		
	});
	</script>
 
 
<h1>Gestion des assignements des roles aux personnes</h1>
 
<table class="table table-striped" style="width: 82.97872339599999%;" align="center" >
<thead>
    <?php
    // Render each the title of each post for the current page in a list-item
   foreach ($this->paginator as $item) : ?>   
       <?php foreach ($item as $key => $value)  : ?>
        
        <th style="text-align: left;"><?php echo $this->header["$key"]; ?></th>
        <?php endforeach; break; endforeach; ?> 
        
         <th>Actions</th>
  </thead>
  <tbody>
  <?php foreach ($this->paginator as $item) : ?>
  <tr>
  		<?php foreach ($item as $key => $value) :?>
       		<td> <?php echo $value ?></td> 
    	<?php endforeach;?> 
  		<td>
  			<a class="thickbox2" type="button" value="Delete" title="Supprimer colonne" href="<?php echo $this->url (array('action'=>'deleteassignementrolepersonne','module'=>'admin','controller'=>'administration'),null,true).'?height=150&width=400&id='.$item[$this->keyOfData]?>">Supprimer</a> 
   			<a href="<?php echo $this->url (array('controller'=>'administration','action'=>'modifierassignementroleprojet',"module"=>"admin","id"=>$item[$this->keyOfData]))?>">Modifier</a>
  		</td>
   </tr>
   <?php endforeach;?>
 </thed>
</table>

<td align="left">
	<a href="<?php echo $this->url (array('controller'=>'administration','action'=>'ajoutassignementrolepersonnet',"module"=>"admin"))?>">Ajouter un assignement un role au personne</a>
</td>




 <div class="control-group">
	<?php echo $this->paginator;?>
</div>

